package com.handpay.zztong.hp.bean;

import android.os.Parcel;

import java.io.Serializable;

/**
 * Created by fplei on 2017/10/12.
 */

public class QrCodeBean extends ResponseBean {
    private String qrCodeUrl;
    private String orderNo;
    private String token;
    private String payOrderID;

    public String getQrCodeUrl() {
        return qrCodeUrl;
    }

    public void setQrCodeUrl(String qrCodeUrl) {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPayOrderID() {
        return payOrderID;
    }

    public void setPayOrderID(String payOrderID) {
        this.payOrderID = payOrderID;
    }

    @Override
    public String toString() {
        return "QrCodeBean{" +
                "qrCodeUrl='" + qrCodeUrl + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", token='" + token + '\'' +
                ", payOrderID='" + payOrderID + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.qrCodeUrl);
        dest.writeString(this.orderNo);
        dest.writeString(this.token);
        dest.writeString(this.payOrderID);
    }

    public QrCodeBean() {
    }

    protected QrCodeBean(Parcel in) {
        super(in);
        this.qrCodeUrl = in.readString();
        this.orderNo = in.readString();
        this.token = in.readString();
        this.payOrderID = in.readString();
    }

    public static final Creator<QrCodeBean> CREATOR = new Creator<QrCodeBean>() {
        @Override
        public QrCodeBean createFromParcel(Parcel source) {
            return new QrCodeBean(source);
        }

        @Override
        public QrCodeBean[] newArray(int size) {
            return new QrCodeBean[size];
        }
    };
}
